
      <div class="right_title"><img class="title_arrow" src="assets/images/title_arrow.png">
        <div class="title_txt">工资表维护
        </div>
      </div>
  <div class="right_content" style="padding:5px;">
  <!-- 内容区域开始 -->
  <hr>
  
  <form class="form-horizontal" role="form">
    <div class="form-group">
       <label for="firstname" class="col-sm-2 control-label">输入年月查看某月工资表</label>
      <div class="col-sm-2">
        <input type="text" class="form-control" id="firstname" name="ckny" placeholder="格式：201701" [(ngModel)]="ckny">
      </div>
      <div class="col-sm-1">
      <button type="submit" class="btn btn-default" (click)="ny_htgz()">确定</button>
      </div>
    </div>
  </form>
  <hr>
  <div [hidden]="ifjsxm">
  <!-- 按年月查询 -->
  
  <button type="button" class="btn btn-primary" [class.active]="iftggz" (click)="ny_htgz()">合同工资</button>
  <button type="button" class="btn btn-primary" [class.active]="ifhtgz" (click)="ny_tggz()">套改工资</button>
  <hr>
   <span [hidden]="ifhtgz"> <button type="button" class="btn btn-danger" (click)="dele_htgz()">删除该月全部合同工资</button> </span>
   <span [hidden]="iftggz"> <button type="button" class="btn btn-danger" (click)="dele_tggz()">删除该月全部套改工资</button> </span>
  <hr>
  <!-- 总应发工资：{{yfgz | number:'1.0-2'}}总实发工资：{{sfgz | number:'1.0-2'}} 平均月工资：{{sfgz/data.length | number:'1.0-2'}} -->
  <table class="table table-bordered" [hidden]="ifhtgz">
    <caption>共{{data.length}}条工资记录</caption>
    <thead>
      <tr>
        <th>序号</th>
        <th>姓名</th>
        <th>月份</th>
        <th>基本工资</th>
        <th>班主任费</th>
        <th>课时工资</th>
        <th>考务费</th>
        <th>校龄</th>
        <th>其它</th>
        <th>全勤奖</th>
        <th>应发工资</th>
        <th>扣考勤</th>
        <th>扣工会费</th>
        <th>扣保险</th>
        <th>其它扣款</th>
        <th>扣款合计</th>
        <th>实发工资</th>
      </tr>
    </thead>
    <tbody>
    <tr *ngFor="let x of data; let i=index">
    <td>{{ i + 1 }}</td>
      <td>{{ x.username }}</td>
      <td>{{ x.riqi }}</td>
      <td>{{ x.jbgz | number:'1.0-2' }}</td>
      <td>{{ x.bzrf | number:'1.0-2' }}</td>
      <td>{{ x.ksgz | number:'1.0-2' }}</td>
      <td>{{ x.kwf | number:'1.0-2' }}</td>
      <td>{{ x.xl | number:'1.0-2' }}</td>
      <td>{{ x.qt | number:'1.0-2' }}</td>
      <td>{{ x.qqj | number:'1.0-2' }}</td>
      <td class="yfgz">{{ x.yfgz | number:'1.0-2' }}</td>
      <td>{{ x.kkq | number:'1.0-2' }}</td>
      <td>{{ x.kghf | number:'1.0-2' }}</td>
      <td>{{ x.kbx | number:'1.0-2' }}</td>
      <td>{{ x.qtkk | number:'1.0-2' }}</td>
      <td>{{ x.kkhj | number:'1.0-2' }}</td>
      <td class="sfgz">{{ x.sfgz | number:'1.0-2' }}</td>
    </tr>
    </tbody>
  </table>
  <!-- 套改工资表格 -->
  <div style=" overflow-x:auto;">
  <table class="table table-bordered" [hidden]="iftggz">
    <caption>共{{data.length}}条工资记录</caption>
    <thead>
      <tr>
     <th>序号</th>
       <th>姓名</th>
       <th>月份</th>
     <th>岗位工资</th>
     <th>薪级工资</th>
     <th>三次职补</th>
     <th>地福补岗补</th>
     <th>聊城岗位津贴</th>
     <th>新增地方补贴</th>
     <th>新增绩效</th>
     <th>住房补贴</th>
     <th>课时费</th>
     <th>考务费</th>
     <th>班主任费</th>
     <th>其它</th>
     <th>全勤奖</th>
     <th>应发合计</th>
     <th>扣考勤</th>
     <th>扣保险</th>
     <th>扣工会费</th>
       <th>扣款合计</th>
     <th>实发工资</th>
      </tr>
    </thead>
    <tbody>
    <tr *ngFor="let x of data; let i=index">
    <td>{{ i + 1 }}</td>
      <td>{{ x.username }}</td>
      <td>{{ x.riqi }}</td>
      <td>{{ x.gwgz | number:'1.0-2' }}</td>
      <td>{{ x.xjgz | number:'1.0-2' }}</td>
      <td>{{ x.sczb | number:'1.0-2' }}</td>
      <td>{{ x.dfbgb | number:'1.0-2' }}</td>
      <td>{{ x.lcgwjt | number:'1.0-2' }}</td>
      <td>{{ x.xzdfbt | number:'1.0-2' }}</td>
      <td>{{ x.xzjx | number:'1.0-2' }}</td>
      <td>{{ x.zfbt | number:'1.0-2' }}</td>
      <td>{{ x.ksf | number:'1.0-2' }}</td>
      <td>{{ x.kwf | number:'1.0-2' }}</td>
      <td>{{ x.bzrf | number:'1.0-2' }}</td>
      <td>{{ x.qita | number:'1.0-2' }}</td>
      <td>{{ x.qqj | number:'1.0-2' }}</td>
      <td class="yfgz">{{ x.yfhj | number:'1.0-2' }}</td>
      <td>{{ x.kkq | number:'1.0-2' }}</td>
      <td>{{ x.kbx | number:'1.0-2' }}</td>
      <td>{{ x.kghf | number:'1.0-2' }}</td>
      <td>{{ x.kkhj | number:'1.0-2' }}</td>
      <td class="sfgz">{{ x.sfgz | number:'1.0-2' }}</td>
    </tr>
    </tbody>
  </table>
  </div>
  </div>
  <!-- 内容区域结束 -->
  </div>
 

